From 6b4992d647aaa1d67f5c61b0a8f0c202e770c918 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 19 Sep 2010 01:01:09 -0400 Subject: [PATCH] Point to the new GtkWidget align and margin properties --- docs/reference/gtk/tmpl/gtkmisc.sgml | 5 +++++ gtk/gtkalignment.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/docs/reference/gtk/tmpl/gtkmisc.sgml b/docs/reference/gtk/tmpl/gtkmisc.sgml index c3466bb6fd..434866014b 100644 --- a/docs/reference/gtk/tmpl/gtkmisc.sgml +++ b/docs/reference/gtk/tmpl/gtkmisc.sgml @@ -19,6 +19,11 @@ positioned within its allocated area. Note that if the widget is added to a container in such a way that it expands automatically to fill its allocated area, the alignment settings will not alter the widgets position. + +Note that the desired effect can in most cases be achieved by using the +#GtkWidget:halign, #GtkWidget:valign and #GtkWidget:margin properties +on the child widget. + diff --git a/gtk/gtkalignment.c b/gtk/gtkalignment.c index c863553924..9a85a91a1b 100644 --- a/gtk/gtkalignment.c +++ b/gtk/gtkalignment.c @@ -41,6 +41,10 @@ * area. The values range from 0 (top or left) to 1 (bottom or right). * Of course, if the scale settings are both set to 1, the alignment settings * have no effect. + * + * Note that the desired effect can in most cases be achieved by using the + * #GtkWidget:halign, #GtkWidget:valign and #GtkWidget:margin properties + * on the child widget. */ #include "config.h" -- 2.30.2